Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Insert  a  Column  into  a  Spreadsheet  

 Content of Insert a Column into a Spreadsheet.js
MD5 Hash: AEE195A9B206EFC56157654F064BE802
var xlshifttoright = -4161;

var objexcel = new ActiveXObject("excel.application");
objexcel.visible = true;
var objworkbook = objexcel.workbooks.add();
var objworksheet = objworkbook.worksheets(1);

objworksheet.cells(1,1) = "dataset 1";
objworksheet.cells(1,2) = "dataset 2";
objworksheet.cells(1,3) = "dataset 4";

var objrange = objexcel.range("c1").entirecolumn;
objrange.insert(xlshifttoright);



   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a